package com.koo.modules.purchase.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.koo.common.utils.PageUtils;
import com.koo.common.vo.AuditParams;
import com.koo.modules.purchase.entity.PurchasesBackOrderEntity;
import com.koo.modules.purchase.entity.PurchasesBackOrderEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author charlin
 * @email 136137465@qq.com
 * @date 2023-03-15 14:06:00
 */
public interface PurchasesBackOrderService extends IService<PurchasesBackOrderEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<PurchasesBackOrderEntity> listByStoreId(Long storeId);

    PurchasesBackOrderEntity info(String backId);

    void audit(AuditParams auditParams);

    String getOrderNo();

    void saveOrder(PurchasesBackOrderEntity orderEntity);

    void saveItemList(PurchasesBackOrderEntity orderEntity);

    void updateOrder(PurchasesBackOrderEntity orderEntity);
}

